#!/usr/bin/python

from __future__ import with_statement
import sys

def main():
# read the number from the file
   filename = sys.argv[1]
   with open(filename) as thefile:
      number = int(thefile.readline())

# now loop in the to produce output
   for i in range(1,number+1):
      if i % 5 == 0 and i % 3 == 0:
         print 'Hop'
      elif i % 5 == 0:
         print 'Hophop'
      elif i % 3 == 0:
         print 'Hoppity'

if __name__ == "__main__":
   main()


